import {CFormGroupProps} from "@/components/CProForm/CFormItem/type";

const fields: CFormGroupProps<any>[] = [
    {
        itemList: [
               {
               name: "company",
               label: " 公司名称",
               labelAlign: "right",
               rules: [
                   {
                       message: " 公司名称是必填项",
                       required: true
                   }
               ],
               width: "md",
               placeholder: "请输入 公司名称",
            },
               {
               name: "customerName",
               label: "客户姓名",
               labelAlign: "right",
               rules: [
                   {
                       message: "客户姓名是必填项",
                       required: true
                   }
               ],
               width: "md",
               placeholder: "请输入客户姓名",
            },
               {
               name: "phone",
               label: " 联系方式",
               labelAlign: "right",
               rules: [
                   {
                       message: " 联系方式是必填项",
                       required: true
                   }
               ],
               width: "md",
               placeholder: "请输入 联系方式",
            },
               {
               name: "email",
               label: "邮箱",
               labelAlign: "right",
               rules: [
                   {
                       message: "邮箱是必填项",
                       required: true
                   }
               ],
               width: "md",
               placeholder: "请输入邮箱",
            },
        ]
    },
    {
        itemList: [
               {
               name: "pcbName",
               label: "文件名称",
               labelAlign: "right",
               rules: [
                   {
                       message: "文件名称是必填项",
                       required: true
                   }
               ],
               width: "md",
               placeholder: "请输入文件名称",
            },
               {
               name: "status",
               label: "状态",
               labelAlign: "right",
               rules: [
                   {
                       message: "状态是必填项",
                       required: true
                   }
               ],
               width: "md",
               placeholder: "请输入状态",
        type: "'switch'"
            },
        ]
    },
]
export default fields;
